<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="EditContent">
	<model>
		<instance>
      <tblCodes>
        <nCodeKey />
        <cCodeName />
        <nCodeType />
        <nCodeParentId />
        <cCodeGroups />
        <cCode />
        <nUseId />
        <dUseDate />
        <nAuditId />
        <nIssuedDirId />
        <dIssuedDate />
        <xUsageData>
          <productDetail purchaseAction="Eonic.Web+Cart+Modules.VoucherAction">
            <Name />
            <StockCode />
            <Type />
            <CodeGroup />
            <Prices>
              <Price currency="GBP" validGroup="all" type="sale" />
              <Price currency="GBP" validGroup="all" type="rrp" />
            </Prices>
            <Images>
              <img src="" width="" height="" class="thumbnail" alt="" />
              <img src="" width="" height="" class="display" alt="" />
              <img src="" width="" height="" class="detail" alt="" />
            </Images>
            <ShortDescription />
            <Body />
            <Stock />
            <Item name="Eye Care Voucher-123" number="3">
              <FirstName>3333</FirstName>
              <LastName>3333</LastName>
              <Email>3333@eonic.co.uk</Email>
              <JobTitle />
              <Company />
              <DOB />
            </Item>
          </productDetail>
        </xUsageData>
        <nAuditKey />
        <dPublishDate />
        <dExpireDate />
        <dInsertDate />
        <nInsertDirId />
        <dUpdateDate />
        <nUpdateDirId />
        <nStatus />
        <cDescription />
      </tblCodes>
    </instance>
		<submission id="ewVoucherSubmit" action="" method="post" event="return form_check(this)"/>
    <bind nodeset="tblCodes/xUsageData/productDetail/Item">
      <bind id="FirstName" nodeset="FirstName" required="true()" type="string"/>
      <bind id="LastName" nodeset="LastName" required="true()" type="string"/>
      <bind id="Email" nodeset="Email" required="true()" type="email"/>
      <bind id="DOB" nodeset="DOB" required="true()" type="date"/>
    </bind>
  </model>
	<group ref="EditDiscount">
		<label>Issue Voucher</label>
    <group class="inline">
        <input bind="FirstName" class="required">
          <label>First Name</label>
        </input>
        <input bind="LastName" class="required">
          <label>Last Name</label>
        </input>
        <input class="DOBcalendar short required" bind="DOB">
          <label>Date of Birth</label>
        </input>
        <input bind="Email" class="required">
          <label>Email</label>
        </input>
    </group>
	<group ref="submit" class="voucherSubmit">
		<submit submission="" ref="ewVoucherSubmit" class="principle">
			<label>Issue Voucher</label>
		</submit>
	</group>
</group>
</Content>
